define(function (require, exports, module) {
    var loadingtime = null;
exports.mloading = function (top) {
    if (top == null || top == "") {
        top = "50%"
    }
    var loadHmtl = '<div class="spinnerloading">\t\t\t<div class="bounce1"></div>\t\t\t<div class="bounce2"></div>\t\t\t<div class="bounce3"></div>\t\t</div>';
    if (loadingtime != null) {
        clearTimeout(loadingtime)
    }
    loadingtime = setTimeout(function () {
        $("body").append(loadHmtl)
    }, 300)
};
    exports.getStore = function (key) {
        return localStorage[key]
    }
    exports.closeLoading = function () {
        clearTimeout(loadingtime);
        $(".web-loading").remove();
        $(".spinnerloading").remove()
    };
    exports.closeloading = function () {
        exports.closeLoading()
    };
    exports.setStore = function (key, value) {
        localStorage[key] = value
    };
})